#pragma once

#include <zenoui/Widget.hpp>

namespace zenoui {

struct EmptyWidget : Widget { // a widget with only background fill, useful for layout adjusting purpose (like <div> in HTML)
protected:
    glm::vec4 m_background_color{0.0f, 0.0f, 0.0f, 0.0f/* alpha */}; // by default alpha is 0 for transparent background
    bool m_hovered = false; // is mouse currently hovered above this widget?

    void property(BackgroundColorProperty *prop) override; // background color (glm::vec4, RGBA)

    void paint() override;
};

}
